package com.org.gundutubruk;

import java.io.Serializable;

public class Player implements Serializable{
	/*
	 * versioning buat serialize
	 */
	private static final long serialVersionUID = 1;
	public String name; //nama harus unik, periksa dulu atribut nama player apakah sudah ada atau belom
	public int jumlahGundu = 10;
	public int unlockLevel = 0;
	
	/*
	 * kalo id-nya 99 berarti make custom avatar 
	 */
	public int avatar = 0;
	public int nourut;
	public static final int CUSTOM_AVATAR = 99;
	public int wincount = 0;
	public int gameplayed = 0;
	
	public Player(String _Name, int id,int no){
		name = _Name; 
		avatar = id;
		nourut=no;
	}
}
